package framework.service.cluster;

import java.util.Map.Entry;

import framework.Message;

/**
 * Forward message 
 *
 * @author	Orlin Tomov
 * @version	0.2
 */
public class ForwardMessage implements Message {

	private Entry<?,?> entry;

	public ForwardMessage(Entry<?,?> entry) {
		this.entry = entry;
	}

	@SuppressWarnings("unchecked")
	protected <E extends Entry<?, ?>> E getEntry() {
		return (E) entry;
	}
}
